package com.example.process.node.tolerate;

import com.example.process.node.NodeContext;
import com.example.process.node.NodeProcessor;
import com.example.process.node.enums.ProcessNodeEnum;
import org.springframework.stereotype.Service;
/**
 * @author tangsen2333
 * @date 2022/6/15
 * @description 出场门禁
 */
@Service
public class ExportPermitNode<T> implements NodeProcessor<T> {

    @Override
    public Integer getNodeCode() {
        return ProcessNodeEnum.EXPORT_PERMIT.getNodeCode();
    }

    @Override
    public boolean pass(NodeContext<T> context){
        return true;
    }

    @Override
    public boolean reject(NodeContext<T> context) {
        return true;
    }

}
